package com.example.homecunter.video.entity;

import java.io.Serializable;

public class VideoEntity implements Serializable {

    /**
     * id : 542
     * authname : 鲁大诗TheBaller
     * sex : M
     * publishtime : 2020-09-04 17:35:34
     * caption : 好气啊！
     这么狠的球被挡住了
     但应该可以看出一些吧
     * view_count : 602982
     * like_count : 49942
     * headpath : http://ali-p1.yximgs.com/uhead/AB/2019/12/11/17/BMjAxOTEyMTExNzE3MzlfMjI1NzAwNzFfMV9oZDYzM183OA==_s.jpg
     * videopath : http://txmov2.a.yximgs.com/upic/2020/09/04/17/BMjAyMDA5MDQxNzM1MjhfMjI1NzAwNzFfMzU1MTE0NTM3NDBfMV8z_b_B93158000a2b0b9f0bbb2017577a32546.mp4?tag=1-1599271187-vdg-1-2xsouoikmf-338bd44278417a66&tt=b&bp=10000
     * videomainimg : http://ali2.a.yximgs.com/upic/2020/09/04/17/BMjAyMDA5MDQxNzM1MjhfMjI1NzAwNzFfMzU1MTE0NTM3NDBfMV8z_low_B7177a995230c6620839e86ba3729e067.webp?tag=1-1599271187-vdg-0-q4qwe5itww-a94250b26817c55c&bp=10000
     * channelid : 0
     * channelname : null
     * userid : 0
     */

    private Integer id;
    private String authname;
    private String sex;
    private String publishtime;
    private String caption;
    private String view_count;
    private String like_count;
    private String headpath;
    private String videopath;
    private String videomainimg;
    private Integer channelid;
    private Object channelname;
    private Integer userid;

    @Override
    public String toString() {
        return "VideoEntity{" +
                "id=" + id +
                ", authname='" + authname + '\'' +
                ", sex='" + sex + '\'' +
                ", publishtime='" + publishtime + '\'' +
                ", caption='" + caption + '\'' +
                ", view_count='" + view_count + '\'' +
                ", like_count='" + like_count + '\'' +
                ", headpath='" + headpath + '\'' +
                ", videopath='" + videopath + '\'' +
                ", videomainimg='" + videomainimg + '\'' +
                ", channelid=" + channelid +
                ", channelname=" + channelname +
                ", userid=" + userid +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAuthname() {
        return authname;
    }

    public void setAuthname(String authname) {
        this.authname = authname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPublishtime() {
        return publishtime;
    }

    public void setPublishtime(String publishtime) {
        this.publishtime = publishtime;
    }

    public String getCaption() {
        return caption;
    }

    public void setCaption(String caption) {
        this.caption = caption;
    }

    public String getView_count() {
        return view_count;
    }

    public void setView_count(String view_count) {
        this.view_count = view_count;
    }

    public String getLike_count() {
        return like_count;
    }

    public void setLike_count(String like_count) {
        this.like_count = like_count;
    }

    public String getHeadpath() {
        return headpath;
    }

    public void setHeadpath(String headpath) {
        this.headpath = headpath;
    }

    public String getVideopath() {
        return videopath;
    }

    public void setVideopath(String videopath) {
        this.videopath = videopath;
    }

    public String getVideomainimg() {
        return videomainimg;
    }

    public void setVideomainimg(String videomainimg) {
        this.videomainimg = videomainimg;
    }

    public Integer getChannelid() {
        return channelid;
    }

    public void setChannelid(Integer channelid) {
        this.channelid = channelid;
    }

    public Object getChannelname() {
        return channelname;
    }

    public void setChannelname(Object channelname) {
        this.channelname = channelname;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public VideoEntity() {
    }

    public VideoEntity(Integer id, String authname, String sex, String publishtime, String caption, String view_count, String like_count, String headpath, String videopath, String videomainimg, Integer channelid, Object channelname, Integer userid) {
        this.id = id;
        this.authname = authname;
        this.sex = sex;
        this.publishtime = publishtime;
        this.caption = caption;
        this.view_count = view_count;
        this.like_count = like_count;
        this.headpath = headpath;
        this.videopath = videopath;
        this.videomainimg = videomainimg;
        this.channelid = channelid;
        this.channelname = channelname;
        this.userid = userid;
    }
}
